#include "SchedulerInc.h"

using namespace bimar_scheduler_lib;

CTask::CTask()
:m_status(EStatus_Invalid)
{
  InitBind();
}

void CTask::SetPropertyNextParallel(gboolean value /*= TRUE*/)
{
  m_bindInfo.parallelNext = value;
}

void CTask::SetPropertyPrevParallel(gboolean value /*= TRUE*/)
{
  m_bindInfo.parallelPrev = value;
}

gboolean CTask::IsParallelPrev()
{
  return m_bindInfo.parallelPrev;
}

gboolean CTask::IsParallelNext()
{
  return m_bindInfo.parallelNext;
}

void CTask::InitBind()
{
  m_bindInfo.parallelPrev = m_bindInfo.parallelNext = FALSE;
}

